package com.nick.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: PayFeign
 * @Descpriction: 支付接口feign调用
 * @author: zhangchao
 * @date: 2020/4/28 14:41
 * @version: 1.0
 */
@FeignClient(value = "pay", fallback = PayFeignFallback.class)
public interface PayFeign {
    @RequestMapping("/pay/go")
    String pay();
}
